﻿using System;
using InfoJetSoft.Service.Entity;
using InfoJetSoft.Service.Util;
using InfoJetSoft.Service.Manager;

namespace InfoJetSoft.Service.Worker
{

	class FormLoadManifestWorker
	{
		
		public static void loadManifest(Form form)
		{
			//CID 0331 //2009.07.27 //Begin
			form.XsnURI = FormUtil.getParameter(form.ParamTable, JetConstant.XDOC_PARAM_XSN_URI);
			form.Action = FormUtil.getParameter(form.ParamTable, JetConstant.XDOC_PARAM_ACTION);
			//CID 0331 //2009.07.27 //End

			Manifest manifest = XSNCache.getManifest(form.XsnURI);
			form.Manifest = manifest;
		}
	}
}